
set(COMPONENT_SRCS "mdf_err_to_name.c"
                    "mdf_mem.c")

set(COMPONENT_INCLUDEDIRS "include")

idf_component_register(SRCS "${COMPONENT_SRCS}"
                    INCLUDE_DIRS "${COMPONENT_INCLUDEDIRS}"
                    REQUIRES  nvs_flash json esp_rom)
    
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wuse-after-free")
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-unused-variable")
         